<template>
  <div class="home">
    <!-- <h1>HOME页面</h1>
    <router-view></router-view>-->
    <el-container>
      <el-header>
        <template>
          <Myheader></Myheader>
        </template>
      </el-header>
      <el-main>
        <router-view></router-view>
      </el-main>
    </el-container>
  </div>
</template>

<script>
import Myheader from "../components/Myheader";
export default {
  name: "Home",
  components: {
    Myheader
  },
  data() {
    return {

    };
  },
};
</script>
<style lang="less" scoped>
body {
  padding: 0;
  margin: 0;
}
.el-header {
  padding: 0;
  background-color: #63b7af;
  text-align: center;
}
.el-aside {
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  height: calc(~"100vh - 60px");
}
.el-main {
  padding: 0;
  /*background-color: #e9eef3;*/
  color: #333;
  height: calc(~"100vh - 60px");
}
.el-main[data-v-fae5bece] {
  background-color: #d4f3ef;
}
.el-aside[data-v-fae5bece] {
  background-color: #63b7af;
  height: calc(~"100vh - 60px");
}
</style>